<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript">
function init()
{
	$.get("http://zhutao/town/static/demo/play.php",{m:"init"},function(data){
		$("#out").html("");
	});
}

function play(user){
	$.get("http://zhutao/town/static/demo/play.php",{m:"play",c:$("#card").val(),p1:$("#para").val(),u:user},function(data){
		$("#out").append(data);
	});
}
$(document).ready(function(){
	init();
});

</script>
</head>
<body>

<div id="out"
	style="width: 800px; height: 100%; position: absolute; top: 0px; left: 0px;"></div>
<div id="debug"
	style="width: 400px; height: 100%; background-color: #333333; position: absolute; top: 0px; left: 800px;">
<input type="button" onclick="init()" value="init" /><br />
<input id="card" style="width: 50px"> <input id="para"
	style="width: 50px"><br />
<input type="button" value="出0" onclick="play(0)" /><br />
<input type="button" value="出1" onclick="play(1)" /><br />
<input type="button" value="出2" onclick="play(2)" /><br />
<input type="button" value="出3" onclick="play(3)" /><br />
<input type="button" value="出4" onclick="play(4)" /><br />
<input type="button" value="出5" onclick="play(5)" /><br />
<input type="button" value="出6" onclick="play(6)" /><br />
<input type="button" value="出7" onclick="play(7)" /><br />
</div>
</body>
</html>